package cn.itsource.org.domain;


import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.itsource.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


/**
 * <p>
 * 
 * </p>
 *
 * @author mochen
 * @since 2023-03-23
 */

@Data
public class Shop extends BaseDomain{

    private static final long serialVersionUID = 1L;

    @Excel(name = "店铺名称",orderNum = "1",width = 30,isImportField = "true_st")
    private String name;
    @Excel(name = "联系方式",orderNum = "2",width =30 ,isImportField = "true_st")
    private String tel;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @Excel(name = "注册时间",exportFormat = "yyyy-MM-dd HH:mm:ss",orderNum = "3",width = 30,isImportField = "true_st")
    private Date registerTime = new Date();
    /**
     * 0待审核 1审核通过 -1驳回
     */
    @Excel(name = "店铺状态",orderNum = "4",width = 30,isImportField = "true_st")
    private Integer state;
    @Excel(name = "店铺地址",orderNum = "5",width = 30,isImportField = "true_st")
    private String address;
    private String logo;
    private Long adminId;

    private Employee admin;


}
